<h:form xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html" id="desktopform"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:t="http://myfaces.apache.org/tomahawk">

	<p:menu style="border:none !important;" id="displayMenu">
		<p:menuitem value="#{msgs.oa_calendar}" ajax="false"
			url="#{evokRoleBean.calendarUrl}" icon="ui-icon-calendar" />
			
		<p:menuitem styleClass="#{unreadCommentsBean.counter > 0 ? 'link_red' : ''}"
			value="#{msgs.comment} (#{unreadCommentsBean.counter})"
			ajax="false"
			url="#{unreadCommentsBean.redirectUrl}"
			icon="#{unreadCommentsBean.counter > 0 ? 'ui-icon-comment red' : 'ui-icon-comment'}" />
					
		<p:menuitem value="#{msgs.oa_message} (#{messagesBean.msgCounter})" ajax="false"
			styleClass="#{messagesBean.msgCounter > 0 ? 'link_red' : ''}"
			url="/pages/aplikata/oa/messages.xhtml" 
			icon="#{messagesBean.msgCounter > 0 ? 'ui-icon-mail-closed red' : 'ui-icon-mail-closed'}"/>
			
		<p:menuitem value="#{msgs.news} (#{newsUserBean.unreadAmount})" ajax="false" 
			styleClass="#{newsUserBean.unreadAmount > 0 ? 'link_red' : ''}"
			url="/pages/aplikata/oa/newsUser.xhtml" 
			icon="#{newsUserBean.unreadAmount > 0 ? 'ui-icon-document red' : 'ui-icon-document'}" />
			

		<p:menuitem value="#{msgs.oa_favorites}" ajax="false"
			url="/pages/aplikata/oa/userFav.xhtml" icon="ui-icon-heart" />

	</p:menu>
</h:form>
